package com.yst.metho.web.application.projectversion.renderer;

import nextapp.echo2.app.Component;
import nextapp.echo2.app.list.ListCellRenderer;

import com.yst.suivi.data.project.versions.lot.Lot;

public class ProjectLotListRenderer implements ListCellRenderer
{

	/*
	 * (non-Javadoc)
	 * 
	 * @see nextapp.echo2.app.list.ListCellRenderer#getListCellRendererComponent(nextapp.echo2.app.Component,
	 *      java.lang.Object, int)
	 */
	public Object getListCellRendererComponent(Component list, Object value, int index)
	{
		Lot prjVersion = (Lot) value;
		return prjVersion.getNom();
	}

}
